package com.xdjmall.entity;

import java.time.LocalDate;
import java.util.Date;

//用户
public class User {
    //用户主键id
    private Integer userId;
    //用户昵称
    private String nickName;
    //登陆名称(默认为手机号)
    private String loginName;
    //MD5加密后的密码
    private String passwordMd5;
    //个性签名
    private String introduceSign;
    //收货地址
    private String address;
    //注销标识字段(0-正常 1-已注销)
    private Boolean isDeleted;
    //锁定标识字段(0-未锁定 1-已锁定)
    private Boolean lockedFlag;
    //注册时间
    private LocalDate createTime;
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPasswordMd5() {
		return passwordMd5;
	}
	public void setPasswordMd5(String passwordMd5) {
		this.passwordMd5 = passwordMd5;
	}
	public String getIntroduceSign() {
		return introduceSign;
	}
	public void setIntroduceSign(String introduceSign) {
		this.introduceSign = introduceSign;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Boolean getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Boolean isDeleted) {
		this.isDeleted = isDeleted;
	}
	public Boolean getLockedFlag() {
		return lockedFlag;
	}
	public void setLockedFlag(Boolean lockedFlag) {
		this.lockedFlag = lockedFlag;
	}
	public LocalDate getCreateTime() {
		return createTime;
	}
	public void setCreateTime(LocalDate createTime) {
		this.createTime = createTime;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", nickName=" + nickName + ", loginName=" + loginName + ", passwordMd5="
				+ passwordMd5 + ", introduceSign=" + introduceSign + ", address=" + address + ", isDeleted=" + isDeleted
				+ ", lockedFlag=" + lockedFlag + ", createTime=" + createTime + "]";
	}
    
}